#include "cppTutorEnum.h"

#include <iostream>

using namespace std;

CcppTutorEnum :: CcppTutorEnum ()
{
}

CcppTutorEnum :: ~CcppTutorEnum ()
{
}

void CcppTutorEnum :: m_Enum()
{
	ShapeType shape = circle;
	
	// Now do something based on what the shape is:
	switch(shape) 
	{
		case circle:  /* circle stuff */ 
			cout << "circle" << endl;
			break;
		case square:  /* square stuff */ 
			cout << "square" << endl;
			break;
		case rectangle:  /* rectangle stuff */ 
			cout << "rectangle" << endl;
			break;
    }
    
    eColor color = violet;
    cout << "color = " << color << endl;
}

void CcppTutorEnum :: m_PrintEnumValues ()
{
	cout << "circle = " << circle << endl;
	cout << "square = " << square << endl;
	cout << "rectangle = " << rectangle << endl;
}